package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

import lombok.Data;


/**
 * VisitorProfile entity. @author MyEclipse Persistence Tools
 */

/**
 * @author LilyHan
 *
 */
@Data
public class VisitorProfile  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 7167903131124072412L;
	private String visitorProfileId;
     private Person visitor;
     private Integer languageType;
     private String salutation;
     private String firstname;
     private String middlename;
     private String lastname;
     private String companyName;
     private String departmentName;
     private String occupation;
     private String cardFrontUrl;
     private String cardBackUrl;
     private String province;
     private String country;
     private String city;
     private Integer sortNum;
     private Integer type;
     private Integer level;
     private Integer isdefault;
     private Integer statusId;
     /** 昵称  */
     private String nickName;
     /** 性别  */
     private Integer gender;//0 女;1 男;
     //公司名称英文
     private String companyNameEn;
     //公司地址
     private String companyAddress;
     private String companyAddressEN;
     //公司邮编
     private String zipCode;
    
     //公司座机
     private String workPhone;
     //公司手机号
     private String mobileNum;
     //公司传真
     private String workFax;
     //公司邮箱
     private String workEmail;
     //公司网址
     private String website;
     //职业
     private String job;
     //企业性质
     private String property;
     //经营产品项目
     private String product;
     //品牌
     private String brand;
     //经营规模
     private String scale;
     //经营模式
     private String model;
     //个人地址
     private String address;
     private String addressEN;
     /**观众登录密码*/
     private String pwd;
     /**是否添加微信*/
     private Integer isAddWeiXin;
     
     private String status;
    
     //导入唯一编号
     private String digitCardNumber;
     //有效性
     private String effective;
     //行业板块
     private String groups;
     //所有品牌展
     private String exhibition;
     
     private String partyClassificationId;
     //关键字
     private String keyword;
     //编号
     private String code;
     //展会编号
     private String exhibitionCode;
    
     /**手机国号*/
     private String countryCodeMN;
     /**电话国号*/
     private String countryCodePN;
     /**电话区号*/
     private String areaCodePN;
     /**传真国号*/
     private String countryCodeFN;
     /**传真区号*/
     private String areaCodeFN;
     
     private String email2;
 	/**手机国家号*/
 	private String countryCodeMN2;
 	private String mobileNum2;
 	/**电话国家号*/
 	private String countryCodePN2;
 	/**电话地区号*/
 	private String areaCodePN2;
 	private String phone2;
 	/**电话国家号*/
 	private String countryCodePN3;
 	/**电话地区号*/
 	private String areaCodePN3;
 	private String phone3;
    private String workProvince;
    private String workCountry;
    private String workCity;
    private Responses responses;
	private String years;//年限
	private PickList customerLevel;
    private PickList scaleUnit;
    private PickList vtype;
    private PickList childType;
    
    private String industry;
    private String acreage;
    /**语言*/
	private String langue;
	/**事件类型*/
	private String eventType;
	/**区*/
	private String zone;
	private Person creater;
	/**数据状态*/
	private PickList dataState;
	
	private Timestamp updatedStamp;
	
	private Person updatedPerson;
	
	// 主办方
	private Organization organizer;
	
	// 客户经理
	private Person manager;
	
	private String token;
	/** 主要数据来源 */
	private PickList dataSource;
	
    public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	private Set<VisitorProfilePickListRel> visitorProfilePickListRels = new HashSet<VisitorProfilePickListRel>(0);
     public Set<VisitorProfilePickListRel> getVisitorProfilePickListRels() {
		return visitorProfilePickListRels;
	}

	public void setVisitorProfilePickListRels(Set<VisitorProfilePickListRel> visitorProfilePickListRels) {
		this.visitorProfilePickListRels = visitorProfilePickListRels;
	}

	public String getWorkProvince() {
		return workProvince;
	}

	public void setWorkProvince(String workProvince) {
		this.workProvince = workProvince;
	}

	public String getWorkCountry() {
		return workCountry;
	}

	public void setWorkCountry(String workCountry) {
		this.workCountry = workCountry;
	}

	public String getWorkCity() {
		return workCity;
	}

	public void setWorkCity(String workCity) {
		this.workCity = workCity;
	}

	public String getCompanyAddressEN() {
		return companyAddressEN;
	}

	public void setCompanyAddressEN(String companyAddressEN) {
		this.companyAddressEN = companyAddressEN;
	}

	public String getAddressEN() {
		return addressEN;
	}

	public void setAddressEN(String addressEN) {
		this.addressEN = addressEN;
	}
	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	private Set<ExhibitionRegistration> exhibitionRegistrations = new HashSet<ExhibitionRegistration>(0);
     private Set<ExhibitionVisitorLeads> exhibitionVisitorLeads = new HashSet<ExhibitionVisitorLeads>(0);
     private Set<ExhibitionTargetRel> exhibitionTargetRels = new HashSet<ExhibitionTargetRel>(0);
     

    // Constructors

    /**
	 * @return the country
	 */
	public String getCountry() {
		return country;
	}

	/**
	 * @param country the country to set
	 */
	public void setCountry(String country) {
		this.country = country;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	/** default constructor */
    public VisitorProfile() {
    }

   
    // Property accessors

    public String getVisitorProfileId() {
        return this.visitorProfileId;
    }
    
    public void setVisitorProfileId(String visitorProfileId) {
        this.visitorProfileId = visitorProfileId;
    }



    public Person getVisitor() {
		return visitor;
	}

	public void setVisitor(Person visitor) {
		this.visitor = visitor;
	}

	public Integer getLanguageType() {
        return this.languageType;
    }
    
    public void setLanguageType(Integer languageType) {
        this.languageType = languageType;
    }

    public String getSalutation() {
        return this.salutation;
    }
    
    public void setSalutation(String salutation) {
        this.salutation = salutation;
    }

    public String getFirstname() {
        return null == this.firstname ? "" : this.firstname;
    }
    
    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getMiddlename() {
        return this.middlename;
    }
    
    public void setMiddlename(String middlename) {
        this.middlename = middlename;
    }

    public String getLastname() {
    	return null == this.lastname ? "" : this.lastname;
    }
    
    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public String getCompanyName() {
        return this.companyName;
    }
    
    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getDepartmentName() {
        return this.departmentName;
    }
    
    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getOccupation() {
        return this.occupation;
    }
    
    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public String getCardFrontUrl() {
        return this.cardFrontUrl;
    }
    
    public void setCardFrontUrl(String cardFrontUrl) {
        this.cardFrontUrl = cardFrontUrl;
    }

    public String getCardBackUrl() {
        return this.cardBackUrl;
    }
    
    public void setCardBackUrl(String cardBackUrl) {
        this.cardBackUrl = cardBackUrl;
    }

    public Integer getSortNum() {
        return this.sortNum;
    }
    
    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public Integer getIsdefault() {
        return this.isdefault;
    }
    
    public void setIsdefault(Integer isdefault) {
        this.isdefault = isdefault;
    }

	public Set<ExhibitionRegistration> getExhibitionRegistrations() {
		return exhibitionRegistrations;
	}

	public void setExhibitionRegistrations(
			Set<ExhibitionRegistration> exhibitionRegistrations) {
		this.exhibitionRegistrations = exhibitionRegistrations;
	}

	public Set<ExhibitionVisitorLeads> getExhibitionVisitorLeads() {
		return exhibitionVisitorLeads;
	}

	public void setExhibitionVisitorLeads(Set<ExhibitionVisitorLeads> exhibitionVisitorLeads) {
		this.exhibitionVisitorLeads = exhibitionVisitorLeads;
	}

	/**
	 * @return the type
	 */
	public Integer getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	/**
	 * @return the level
	 */
	public Integer getLevel() {
		return level;
	}

	/**
	 * @param level the level to set
	 */
	public void setLevel(Integer level) {
		this.level = level;
	}

	/**
	 * @return the statusId
	 */
	public Integer getStatusId() {
		return statusId;
	}

	/**
	 * @param statusId the statusId to set
	 */
	public void setStatusId(Integer statusId) {
		this.statusId = statusId;
	}

	public String getCompanyNameEn() {
		return companyNameEn;
	}

	public void setCompanyNameEn(String companyNameEn) {
		this.companyNameEn = companyNameEn;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getWorkPhone() {
		return workPhone;
	}

	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}

	public String getMobileNum() {
		return mobileNum;
	}

	public void setMobileNum(String mobileNum) {
		this.mobileNum = mobileNum;
	}

	public String getWorkFax() {
		return workFax;
	}

	public void setWorkFax(String workFax) {
		this.workFax = workFax;
	}

	public String getWorkEmail() {
		return workEmail;
	}

	public void setWorkEmail(String workEmail) {
		this.workEmail = workEmail;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getProperty() {
		return null != property ? property : "";
	}

	public void setProperty(String property) {
		this.property = property;
	}

	public String getProduct() {
		return null != product ? product : "";
	}

	public void setProduct(String product) {
		this.product = product;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getScale() {
		return scale;
	}

	public void setScale(String scale) {
		this.scale = scale;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getCompanyAddress() {
		return companyAddress;
	}

	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * @return the pwd
	 */
	public String getPwd() {
		return pwd;
	}

	/**
	 * @param pwd the pwd to set
	 */
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	/**
	 * @return the partyClassificationId
	 */
	public String getPartyClassificationId() {
		return partyClassificationId;
	}

	/**
	 * @param partyClassificationId the partyClassificationId to set
	 */
	public void setPartyClassificationId(String partyClassificationId) {
		this.partyClassificationId = partyClassificationId;
	}

	public String getDigitCardNumber() {
		return digitCardNumber;
	}

	public void setDigitCardNumber(String digitCardNumber) {
		this.digitCardNumber = digitCardNumber;
	}

	public String getEffective() {
		return effective;
	}

	public void setEffective(String effective) {
		this.effective = effective;
	}

	public String getGroups() {
		return groups;
	}

	public void setGroups(String groups) {
		this.groups = groups;
	}

	public String getExhibition() {
		return exhibition;
	}

	public void setExhibition(String exhibition) {
		this.exhibition = exhibition;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getExhibitionCode() {
		return exhibitionCode;
	}

	public void setExhibitionCode(String exhibitionCode) {
		this.exhibitionCode = exhibitionCode;
	}

	public String getCountryCodeMN() {
		return countryCodeMN;
	}

	public void setCountryCodeMN(String countryCodeMN) {
		this.countryCodeMN = countryCodeMN;
	}

	public String getCountryCodePN() {
		return countryCodePN;
	}

	public void setCountryCodePN(String countryCodePN) {
		this.countryCodePN = countryCodePN;
	}

	public String getAreaCodePN() {
		return areaCodePN;
	}

	public void setAreaCodePN(String areaCodePN) {
		this.areaCodePN = areaCodePN;
	}

	public String getCountryCodeFN() {
		return countryCodeFN;
	}

	public void setCountryCodeFN(String countryCodeFN) {
		this.countryCodeFN = countryCodeFN;
	}

	public String getAreaCodeFN() {
		return areaCodeFN;
	}

	public void setAreaCodeFN(String areaCodeFN) {
		this.areaCodeFN = areaCodeFN;
	}

	public Responses getResponses() {
		return responses;
	}

	public void setResponses(Responses responses) {
		this.responses = responses;
	}

	public String getYears() {
		return years;
	}

	public void setYears(String years) {
		this.years = years;
	}

	public String getLangue() {
		return langue;
	}

	public void setLangue(String langue) {
		this.langue = langue;
	}

	public String getEventType() {
		return eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	public String getZone() {
		return zone;
	}

	public void setZone(String zone) {
		this.zone = zone;
	}
	public PickList getCustomerLevel() {
		return customerLevel;
	}

	public void setCustomerLevel(PickList customerLevel) {
		this.customerLevel = customerLevel;
	}

	public PickList getScaleUnit() {
		return scaleUnit;
	}

	public void setScaleUnit(PickList scaleUnit) {
		this.scaleUnit = scaleUnit;
	}
	public PickList getVtype() {
		return vtype;
	}

	public void setVtype(PickList vtype) {
		this.vtype = vtype;
	}

	public PickList getChildType() {
		return childType;
	}

	public void setChildType(PickList childType) {
		this.childType = childType;
	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getAcreage() {
		return acreage;
	}

	public void setAcreage(String acreage) {
		this.acreage = acreage;
	}

	public Person getCreater() {
		return creater;
	}

	public void setCreater(Person creater) {
		this.creater = creater;
	}

	public PickList getDataState() {
		return dataState;
	}

	public void setDataState(PickList dataState) {
		this.dataState = dataState;
	}

	public Timestamp getUpdatedStamp() {
		return updatedStamp;
	}

	public void setUpdatedStamp(Timestamp updatedStamp) {
		this.updatedStamp = updatedStamp;
	}

	public Integer getIsAddWeiXin() {
		return isAddWeiXin;
	}

	public void setIsAddWeiXin(Integer isAddWeiXin) {
		this.isAddWeiXin = isAddWeiXin;
	}

	public Person getUpdatedPerson() {
		return updatedPerson;
	}

	public void setUpdatedPerson(Person updatedPerson) {
		this.updatedPerson = updatedPerson;
	}

	public Organization getOrganizer() {
		return organizer;
	}

	public void setOrganizer(Organization organizer) {
		this.organizer = organizer;
	}

	public Set<ExhibitionTargetRel> getExhibitionTargetRels() {
		return exhibitionTargetRels;
	}

	public void setExhibitionTargetRels(Set<ExhibitionTargetRel> exhibitionTargetRels) {
		this.exhibitionTargetRels = exhibitionTargetRels;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Person getManager() {
		return manager;
	}

	public void setManager(Person manager) {
		this.manager = manager;
	}

	public PickList getDataSource() {
		return dataSource;
	}

	public void setDataSource(PickList dataSource) {
		this.dataSource = dataSource;
	}

}